import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}

export function UserInfo() {
  return request({
    url: '/permission/user'
  })
}

export function RoleInfo() {
  return request({
    url: '/permission/role'
  })
}

export function MenuInfo() {
  return request({
    url: '/permission/menu'
  })
}
